<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="ItemContratoViewDlg" widgetVar="ItemContratoViewDialog" modal="true" resizable="false" appendTo="@(body)" header="#{bundle.ViewItemContratoTitle}">
            <h:form id="ItemContratoViewForm">
                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{itemContratoController.selected != null}">
                        <h:outputText value="#{bundle.ViewItemContratoLabel_idItemContrato}"/>
                        <h:outputText value="#{itemContratoController.selected.idItemContrato}" title="#{bundle.ViewItemContratoTitle_idItemContrato}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_txDescricao}"/>
                        <h:outputText value="#{itemContratoController.selected.txDescricao}" title="#{bundle.ViewItemContratoTitle_txDescricao}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_qtContratada}"/>
                        <h:outputText value="#{itemContratoController.selected.qtContratada}" title="#{bundle.ViewItemContratoTitle_qtContratada}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_tpUnidadeContratada}"/>
                        <h:outputText value="#{itemContratoController.selected.tpUnidadeContratada}" title="#{bundle.ViewItemContratoTitle_tpUnidadeContratada}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_vlPrecoUnitario}"/>
                        <h:outputText value="#{itemContratoController.selected.vlPrecoUnitario}" title="#{bundle.ViewItemContratoTitle_vlPrecoUnitario}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_vlPrecoTotal}"/>
                        <h:outputText value="#{itemContratoController.selected.vlPrecoTotal}" title="#{bundle.ViewItemContratoTitle_vlPrecoTotal}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_txApresentacao}"/>
                        <h:outputText value="#{itemContratoController.selected.txApresentacao}" title="#{bundle.ViewItemContratoTitle_txApresentacao}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_qtMaxContratada}"/>
                        <h:outputText value="#{itemContratoController.selected.qtMaxContratada}" title="#{bundle.ViewItemContratoTitle_qtMaxContratada}"/>
                        <h:outputText value="#{bundle.ViewItemContratoLabel_codObjetoContrato}"/>
                        <h:outputText value="#{itemContratoController.selected.codObjetoContrato}" title="#{bundle.ViewItemContratoTitle_codObjetoContrato}"/>
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="ItemContratoViewDialog.hide()"/>
                </h:panelGroup>
            </h:form>
        </p:dialog>

    </ui:composition>
</html>
